TARGET := task
INCLUDES := -Iinclude  -I../  
SRCS = link.c main.c iphelp.c nat.c conn.c
CC := gcc
OBJS = $(SRCS:.c=.o)

$(TARGET): $(OBJS)
	$(CC) -o $@ $^

%.o: %.c
	$(CC) $(INCLUDES) -o $@ -c $<

install:
	cp $(TARGET) ..

clean:
	rm -rf $(TARGET) $(OBJS)

